class ComponentConstraintAdd < ActiveRecord::Migration
  def up
    add_index :components, [:name, :composite], :unique=>true
  end
  

  def down
    remove_index :components, [:name, :composite]
  end
end
